package com.rongzhe.house.login.service;

import com.rongzhe.house.common.resp.ApiResult;
import com.rongzhe.house.login.entity.User;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Chengjia
 * @date 2018/3/10 18:15
 */
public interface LoginService {

    ApiResult login(User user);

    ApiResult validatePhone(User user);

    ApiResult validateCode(String mobile,String imgId,String imgVValue,HttpServletRequest request);

    ApiResult doRegister(User user,String vcode);


    ApiResult validateFindPhoneCode(User user,String vcode);

    ApiResult updatePwd(User user);


}
